package com.zt.dev.physicalequipment.mapper;

import com.zt.dev.physicalequipment.pojo.PhysicalTypeValue;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PhysicalTypeValueMapper {

    int insert(PhysicalTypeValue type);

    int update(PhysicalTypeValue type);

    int delete(Integer id);

    int deletes(Integer[] ids);

    int deleteBymId(Integer messageId);

    List<PhysicalTypeValue> getBymId(Integer messageId);

    PhysicalTypeValue getBymIdAndtId(Integer messageId, Integer typeId);

}
